package com.zhibian.service.impl;

import com.zhibian.entity.Category;
import com.zhibian.mapper.ICategoryMapper;
import com.zhibian.service.ICategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ICategoryServiceImpl implements ICategoryService {

    @Resource
    ICategoryMapper categoryMapper;

    public List<Category> findAll() {
        return categoryMapper.selectAll();
    }
}
